import { axios } from './core'

/**
 *
 * @method getTourExhibitionInfo
 * @param {} parameter
 */
export function getTourExhibitionInfo (parameter) {
  return axios({
    url: '/api/tourExhibition/tourExhibitionInfo',
    method: 'get',
    params: parameter
  })
}

/**
 *
 * @method getLiveList
 * @param {} parameter
 */
export function getLiveList (parameter) {
  return axios({
    url: '/api/tourExhibition/tourLiveList',
    method: 'post',
    params: parameter
  })
}

/**
 *
 * @method getArticleList
 * @param {} parameter
 */
export function getArticleList (parameter) {
  return axios({
    url: '/api/tourExhibition/tourExhibitionArticle',
    method: 'post',
    data: parameter
  })
}

/**
 *
 * @method bookLive
 * @param {} parameter
 */
export function bookLive (parameter) {
  return axios({
    url: '/api/tourExhibition/h5UserBookLive',
    method: 'post',
    params: parameter
  })
}

/**
 *
 * @method getUserSignStatus
 * @param {} parameter
 */
export function getUserSignStatus (parameter) {
  return axios({
    url: '/api/tourExhibition/userSignStatus',
    method: 'post',
    params: parameter
  })
}

/**
 *
 * @method getTourOtherInfo
 * @param {} parameter
 */
export function getTourOtherInfo (parameter) {
  return axios({
    url: '/api/tourExhibition/tourOtherInfo',
    method: 'get',
    params: parameter
  })
}

/**
 *
 * @method getTourExhibitionList
 * @param {} parameter
 */
export function getTourExhibitionList (parameter) {
  return axios({
    url: '/api/tourExhibition/tourExhibitionList',
    method: 'get',
    params: parameter
  })
}

/**
 *
 * @method tourExhibitionSignUp
 * @param {} parameter
 */
export function tourExhibitionSignUp (parameter) {
  return axios({
    url: '/api/tourExhibition/tourExhibitionSignUp',
    method: 'get',
    params: parameter
  })
}

/**
 *
 * @method getTourGoodsList
 * @param {} parameter
 */
export function getTourGoodsList (parameter) {
  return axios({
    url: '/api/TourExhibition/tourGoodsList',
    method: 'post',
    params: parameter
  })
}

